package com.example.tome.component_router.retrofit;

import com.example.tome.component_router.retrofit.bean.BaseObj;
import com.example.tome.component_router.retrofit.bean.LoginBean;
import com.example.tome.component_router.retrofit.bean.LoginResponse;
import com.example.tome.component_router.retrofit.helper.HttpHelper;
import com.example.tome.component_router.retrofit.params.LoginParams;

import io.reactivex.Observable;

/**
 * @Created by TOME .
 * @时间 2018/5/3 17:53
 * @描述 ${TODO}
 */

public class DataManager implements HttpHelper{

    //private RetrofitHelper mRetrofitHelper ;
    private HttpHelper mHttpHelper;

    public DataManager(HttpHelper httpHelper){
        mHttpHelper = httpHelper ;
    }


    @Override
    public Observable<LoginResponse> getFeedArticleList(LoginParams params) {
        return mHttpHelper.getFeedArticleList(params);
    }
}
